"""
# -*- coding: utf-8 -*-
# @Time    : 2023/6/1 9:47
# @Author  : 王摇摆
# @FileName: Learn_6.3.py
# @Software: PyCharm
# @Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
"""
# 某超市双十一活动如下：
# 会员：不满200元9折，满200元8折。
# 非会员：不满200元不打折，满200元9折。

role = input('请问您是会员吗？请回答是或者不是？')
money = int(input('请输入您的消费金额:'))

if role == '是':
    member = '会员'
    if money >= 200:
        cost = money * 0.8
    else:
        cost = money * 0.9

elif role == '不是':
    member = '普通用户'
    if money >= 200:
        cost = money * 0.9
    else:
        cost = money

print('尊贵的{}王国炜，您本次的消费金额是{}元！'.format(member, cost))
